3.4.41 \(\int \frac {a+b \log (c x)}{(d+\frac {e}{x}) x} \, dx\) [341]

Optimal. Leaf size=36 \[ \frac {(a+b \log (c x)) \log \left (1+\frac {d x}{e}\right )}{d}+\frac {b \text {Li}_2\left (-\frac {d x}{e}\right )}{d} \]

[Out]

(a+b*ln(c*x))*ln(1+d*x/e)/d+b*polylog(2,-d*x/e)/d

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2370, 2354, 2438} \begin {gather*} \frac {b \text {PolyLog}\left (2,-\frac {d x}{e}\right )}{d}+\frac {\log \left (\frac {d x}{e}+1\right ) (a+b \log (c x))}{d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*x])/((d + e/x)*x),x]

[Out]

((a + b*Log[c*x])*Log[1 + (d*x)/e])/d + (b*PolyLog[2, -((d*x)/e)])/d

Rule 2354

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[Log[1 + e*(x/d)]*((a +
b*Log[c*x^n])^p/e), x] - Dist[b*n*(p/e), Int[Log[1 + e*(x/d)]*((a + b*Log[c*x^n])^(p - 1)/x), x], x] /; FreeQ[
{a, b, c, d, e, n}, x] && IGtQ[p, 0]

Rule 2370

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_) + (e_.)/(x_))^(q_.)*(x_)^(m_.), x_Symbol] :> Int[(e + d*
x)^q*(a + b*Log[c*x^n])^p, x] /; FreeQ[{a, b, c, d, e, m, n, p}, x] && EqQ[m, q] && IntegerQ[q]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rubi steps

\begin {align*} \int \frac {a+b \log (c x)}{\left (d+\frac {e}{x}\right ) x} \, dx &=\int \frac {a+b \log (c x)}{e+d x} \, dx\\ &=\frac {(a+b \log (c x)) \log \left (1+\frac {d x}{e}\right )}{d}-\frac {b \int \frac {\log \left (1+\frac {d x}{e}\right )}{x} \, dx}{d}\\ &=\frac {(a+b \log (c x)) \log \left (1+\frac {d x}{e}\right )}{d}+\frac {b \text {Li}_2\left (-\frac {d x}{e}\right )}{d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 34, normalized size = 0.94 \begin {gather*} \frac {(a+b \log (c x)) \log \left (1+\frac {d x}{e}\right )+b \text {Li}_2\left (-\frac {d x}{e}\right )}{d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*x])/((d + e/x)*x),x]

[Out]

((a + b*Log[c*x])*Log[1 + (d*x)/e] + b*PolyLog[2, -((d*x)/e)])/d

________________________________________________________________________________________

Maple [A]
time = 0.06, size = 62, normalized size = 1.72

method result size
risch \(\frac {a \ln \left (d x +e \right )}{d}+\frac {b \dilog \left (\frac {c d x +c e}{e c}\right )}{d}+\frac {b \ln \left (c x \right ) \ln \left (\frac {c d x +c e}{e c}\right )}{d}\) \(59\)
derivativedivides \(\frac {a \ln \left (c d x +c e \right )}{d}+\frac {b \dilog \left (\frac {c d x +c e}{e c}\right )}{d}+\frac {b \ln \left (c x \right ) \ln \left (\frac {c d x +c e}{e c}\right )}{d}\) \(62\)
default \(\frac {a \ln \left (c d x +c e \right )}{d}+\frac {b \dilog \left (\frac {c d x +c e}{e c}\right )}{d}+\frac {b \ln \left (c x \right ) \ln \left (\frac {c d x +c e}{e c}\right )}{d}\) \(62\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x))/(d+e/x)/x,x,method=_RETURNVERBOSE)

[Out]

a*ln(c*d*x+c*e)/d+b*dilog((c*d*x+c*e)/e/c)/d+b*ln(c*x)*ln((c*d*x+c*e)/e/c)/d

________________________________________________________________________________________

Maxima [A]
time = 0.31, size = 42, normalized size = 1.17 \begin {gather*} \frac {{\left (\log \left (d x e^{\left (-1\right )} + 1\right ) \log \left (x\right ) + {\rm Li}_2\left (-d x e^{\left (-1\right )}\right )\right )} b}{d} + \frac {{\left (b \log \left (c\right ) + a\right )} \log \left (d x + e\right )}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x))/(d+e/x)/x,x, algorithm="maxima")

[Out]

(log(d*x*e^(-1) + 1)*log(x) + dilog(-d*x*e^(-1)))*b/d + (b*log(c) + a)*log(d*x + e)/d

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x))/(d+e/x)/x,x, algorithm="fricas")

[Out]

integral((b*log(c*x) + a)/(d*x + e), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \log {\left (c x \right )}}{d x + e}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x))/(d+e/x)/x,x)

[Out]

Integral((a + b*log(c*x))/(d*x + e), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x))/(d+e/x)/x,x, algorithm="giac")

[Out]

integrate((b*log(c*x) + a)/((d + e/x)*x), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {a+b\,\ln \left (c\,x\right )}{x\,\left (d+\frac {e}{x}\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*x))/(x*(d + e/x)),x)

[Out]

int((a + b*log(c*x))/(x*(d + e/x)), x)

________________________________________________________________________________________